<?php class TemplateCategoryEntity extends TemplateCategoryEntityBase {	public function __construct($arrValue = null, $prefix = '')	{		if(!is_null($arrValue) && is_array($arrValue)){			parent::__construct($arrValue, $prefix);		}	}			/**	 * Get all templates belong to this Template Category	 */	public function getTemplates()	{		$templateDataService = new TemplateDataService();		$arrElement = array();		$arrElement['categoryId'] = $this->id;		$itemList = $templateDataService->getItems($arrElement);		return $itemList;	}}